//
//  CommentInputView.h
//  DFTimelineView
//
//  Created by Allen Zhong on 15/10/10.
//  Copyright (c) 2015年 Datafans, Inc. All rights reserved.
//



@protocol CommentInputViewDelegate <NSObject>

@required

-(void) onCommentCreate:(NSString *) commentId text:(NSString *) text;

@end




@interface CommentInputView : UIView


@property (nonatomic, weak) id<CommentInputViewDelegate> delegate;
@property (strong, nonatomic) UIView *maskView;
@property (strong,nonatomic) UITextField *inputTextView;
@property (nonatomic, strong) NSString *commentId;

-(void) addNotify;

-(void) removeNotify;

-(void) addObserver;

-(void) removeObserver;

-(void) show;

-(void) setPlaceHolder:(NSString *) text;
-(void) hideInputView;
@end
